<!DOCTYPE html>
<html>
    <head>
        <meta charset='utf-8'>
        <title></title>
        <style>
        </style>
        <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    </head>
    <body>
       <div id="app">
           <p>{{message}}</p>
           <input type="text" v-model="message">
       </div>
    </body>
</html>
<script>
    //1.创建vue实例
    let vm=new Vue({
        el:'#app',
        data:{
            message:'你好，世界！'
        }
    })
</script>